package com.example.smart.ui.activity.home

import com.example.lib.extend.setOnDoubleClickListener
import com.example.lib.utils.statusbar.StatusBarUtils
import com.example.smart.R
import com.example.smart.base.ui.activity.BaseTitleBarActivity
import com.example.smart.databinding.ActivityJzBinding
import com.example.smart.utils.DisplayUtils

class JzActivity : BaseTitleBarActivity<ActivityJzBinding>() {

    override fun layoutID() = R.layout.activity_jz

    override fun initView() {
        StatusBarUtils.setStateAndNavigationBar(this@JzActivity, statusBarColor = com.example.lib.R.color.black_ececf8)
        setAppBarColor(getColor(com.example.lib.R.color.black_ececf8))
        title = "接种记录"

        binding.Radio1.isChecked = true
    }

    override fun initListener() {
        binding.Lin1.setOnDoubleClickListener {
            DisplayUtils.toJzDetails(this@JzActivity)
        }

        binding.Lin2.setOnDoubleClickListener {
            DisplayUtils.toJzDetails(this@JzActivity)
        }

        binding.Lin3.setOnDoubleClickListener {
            DisplayUtils.toJzDetails(this@JzActivity)
        }
        binding.Lin4.setOnDoubleClickListener {
            DisplayUtils.toJzDetails(this@JzActivity)
        }
    }
}